package spring.superrun.record.mvc.dto;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

public class ManagerRegisterDto {
    @Length(min = 6,max = 20,message = "用户名请输入6到20位的字符")
    @NotNull
    private String UserName;
    @Length(min=6,max = 20,message = "密码请输入6到20位的字符")
    @NotNull
    private String Password;

    @Length(min=6,max = 20,message = "密码请输入6到20位的字符")
    @NotNull
    private String EnPassword;

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    public String getEnPassword() {
        return EnPassword;
    }

    public void setEnPassword(String enPassword) {
        EnPassword = enPassword;
    }
}
